package School;


public class Student {
    public String name;
    public Teacher teacher;

    public void showName(String name){
        System.out.println("我是："+name);
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Teacher getTeacher() {
        return teacher;
    }

    public void setTeacher(Teacher teacher) {
        this.teacher = teacher;
    }
}
